<?
class UpgradesBO extends BusinessObject{

  /* private function using in constructors */ 
  function setAttributes(){
	$this->fields	= array(
				'id'	=> 'upgID',
				'item'	=> 'updItem',
				'upgItem'	=>	'upgUpgradeditem',
				'text'	=> 'upgText'
				);
    BusinessObject::setAttributes();
  }
 
  /* constructor */
  function UpgradesBO(){
    /** super(tableName) */
    BusinessObject::BusinessObject("upgrades");
    $this->setAttributes();
  }
}
?>